package com.blt.govdata.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.blt.govdata.model.TSysRole;
import com.blt.govdata.model.vo.TSysRoleVo;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * Mapper 接口
 * </p>
 * @author AustinGJ123
 * @since 2018-03-26
 */
public interface TSysRoleMapper extends BaseMapper<TSysRole> {

    List<TSysRoleVo> selectVoPage(Page<TSysRoleVo> page, Map<String, Object> paramMap);

    TSysRoleVo selectVoById(String id);

    int selectVoCount(Map<String, Object> paramMap);

    int baseInsert(TSysRole entity);

    int baseUpdate(TSysRole entity);

    int baseDelete(String id);
}